<div class="mask" (click)='mask()' [style.background-color]="opacity&&opacity<1&&opacity>0?'rgba(0, 0, 0, '+opacity+')':'rgba(0, 0, 0, 0)'"></div>